<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        // function arr123(...arg) {
        //     for (const item of arg) {
        //         if (item.includes(arg[0])) {
        //             console.log(item);
        //         }
        //     }
        //     console.log('--------------------------------------------------')
        // }
        // arr123('ji', 'yangyuanzhang', 'aifangdian', 'hajimi', 'koujiubai', 'yaohuiqu', 'jiewangyin')

        // let arr123 = ['yangyuanzhang', 'aifangdian', 'hajimi', 'koujiubai', 'yaohuiqu', 'jiewangyin']
        // function findArr(arr, str) {
        //     let frr = [];
        //     for (const item of arr) {
        //         if (item.includes(str)) {
        //             console.log(item);
        //             frr.push(item)
        //         }
        //     }
        //     console.log(frr[frr.length - 1])
        // }
        // findArr(arr123, 'ji')



        var e1 = document.createElement('div');
        e1.innerHTML = `<li class="stu-item">123123<div class="close-btn"><span class="iconfont icon-close"></span></div></li>`;
        document.body.appendChild(e1);
    </script>
</body>

</html>